package com.rf.richfitwheel.workflow.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WfProcessTransferExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WfProcessTransferExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNull() {
            addCriterion("task_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNotNull() {
            addCriterion("task_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskIdEqualTo(String value) {
            addCriterion("task_id =", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotEqualTo(String value) {
            addCriterion("task_id <>", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThan(String value) {
            addCriterion("task_id >", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThanOrEqualTo(String value) {
            addCriterion("task_id >=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThan(String value) {
            addCriterion("task_id <", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThanOrEqualTo(String value) {
            addCriterion("task_id <=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLike(String value) {
            addCriterion("task_id like", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotLike(String value) {
            addCriterion("task_id not like", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIn(List<String> values) {
            addCriterion("task_id in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotIn(List<String> values) {
            addCriterion("task_id not in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdBetween(String value1, String value2) {
            addCriterion("task_id between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotBetween(String value1, String value2) {
            addCriterion("task_id not between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andActIdIsNull() {
            addCriterion("act_id is null");
            return (Criteria) this;
        }

        public Criteria andActIdIsNotNull() {
            addCriterion("act_id is not null");
            return (Criteria) this;
        }

        public Criteria andActIdEqualTo(String value) {
            addCriterion("act_id =", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdNotEqualTo(String value) {
            addCriterion("act_id <>", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdGreaterThan(String value) {
            addCriterion("act_id >", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdGreaterThanOrEqualTo(String value) {
            addCriterion("act_id >=", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdLessThan(String value) {
            addCriterion("act_id <", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdLessThanOrEqualTo(String value) {
            addCriterion("act_id <=", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdLike(String value) {
            addCriterion("act_id like", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdNotLike(String value) {
            addCriterion("act_id not like", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdIn(List<String> values) {
            addCriterion("act_id in", values, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdNotIn(List<String> values) {
            addCriterion("act_id not in", values, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdBetween(String value1, String value2) {
            addCriterion("act_id between", value1, value2, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdNotBetween(String value1, String value2) {
            addCriterion("act_id not between", value1, value2, "actId");
            return (Criteria) this;
        }

        public Criteria andToActIdIsNull() {
            addCriterion("to_act_id is null");
            return (Criteria) this;
        }

        public Criteria andToActIdIsNotNull() {
            addCriterion("to_act_id is not null");
            return (Criteria) this;
        }

        public Criteria andToActIdEqualTo(String value) {
            addCriterion("to_act_id =", value, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdNotEqualTo(String value) {
            addCriterion("to_act_id <>", value, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdGreaterThan(String value) {
            addCriterion("to_act_id >", value, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdGreaterThanOrEqualTo(String value) {
            addCriterion("to_act_id >=", value, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdLessThan(String value) {
            addCriterion("to_act_id <", value, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdLessThanOrEqualTo(String value) {
            addCriterion("to_act_id <=", value, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdLike(String value) {
            addCriterion("to_act_id like", value, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdNotLike(String value) {
            addCriterion("to_act_id not like", value, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdIn(List<String> values) {
            addCriterion("to_act_id in", values, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdNotIn(List<String> values) {
            addCriterion("to_act_id not in", values, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdBetween(String value1, String value2) {
            addCriterion("to_act_id between", value1, value2, "toActId");
            return (Criteria) this;
        }

        public Criteria andToActIdNotBetween(String value1, String value2) {
            addCriterion("to_act_id not between", value1, value2, "toActId");
            return (Criteria) this;
        }

        public Criteria andExecIdIsNull() {
            addCriterion("exec_id is null");
            return (Criteria) this;
        }

        public Criteria andExecIdIsNotNull() {
            addCriterion("exec_id is not null");
            return (Criteria) this;
        }

        public Criteria andExecIdEqualTo(String value) {
            addCriterion("exec_id =", value, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdNotEqualTo(String value) {
            addCriterion("exec_id <>", value, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdGreaterThan(String value) {
            addCriterion("exec_id >", value, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdGreaterThanOrEqualTo(String value) {
            addCriterion("exec_id >=", value, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdLessThan(String value) {
            addCriterion("exec_id <", value, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdLessThanOrEqualTo(String value) {
            addCriterion("exec_id <=", value, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdLike(String value) {
            addCriterion("exec_id like", value, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdNotLike(String value) {
            addCriterion("exec_id not like", value, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdIn(List<String> values) {
            addCriterion("exec_id in", values, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdNotIn(List<String> values) {
            addCriterion("exec_id not in", values, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdBetween(String value1, String value2) {
            addCriterion("exec_id between", value1, value2, "execId");
            return (Criteria) this;
        }

        public Criteria andExecIdNotBetween(String value1, String value2) {
            addCriterion("exec_id not between", value1, value2, "execId");
            return (Criteria) this;
        }

        public Criteria andParExecIdIsNull() {
            addCriterion("par_exec_id is null");
            return (Criteria) this;
        }

        public Criteria andParExecIdIsNotNull() {
            addCriterion("par_exec_id is not null");
            return (Criteria) this;
        }

        public Criteria andParExecIdEqualTo(String value) {
            addCriterion("par_exec_id =", value, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdNotEqualTo(String value) {
            addCriterion("par_exec_id <>", value, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdGreaterThan(String value) {
            addCriterion("par_exec_id >", value, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdGreaterThanOrEqualTo(String value) {
            addCriterion("par_exec_id >=", value, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdLessThan(String value) {
            addCriterion("par_exec_id <", value, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdLessThanOrEqualTo(String value) {
            addCriterion("par_exec_id <=", value, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdLike(String value) {
            addCriterion("par_exec_id like", value, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdNotLike(String value) {
            addCriterion("par_exec_id not like", value, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdIn(List<String> values) {
            addCriterion("par_exec_id in", values, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdNotIn(List<String> values) {
            addCriterion("par_exec_id not in", values, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdBetween(String value1, String value2) {
            addCriterion("par_exec_id between", value1, value2, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParExecIdNotBetween(String value1, String value2) {
            addCriterion("par_exec_id not between", value1, value2, "parExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdIsNull() {
            addCriterion("par_par_exec_id is null");
            return (Criteria) this;
        }

        public Criteria andParParExecIdIsNotNull() {
            addCriterion("par_par_exec_id is not null");
            return (Criteria) this;
        }

        public Criteria andParParExecIdEqualTo(String value) {
            addCriterion("par_par_exec_id =", value, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdNotEqualTo(String value) {
            addCriterion("par_par_exec_id <>", value, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdGreaterThan(String value) {
            addCriterion("par_par_exec_id >", value, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdGreaterThanOrEqualTo(String value) {
            addCriterion("par_par_exec_id >=", value, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdLessThan(String value) {
            addCriterion("par_par_exec_id <", value, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdLessThanOrEqualTo(String value) {
            addCriterion("par_par_exec_id <=", value, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdLike(String value) {
            addCriterion("par_par_exec_id like", value, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdNotLike(String value) {
            addCriterion("par_par_exec_id not like", value, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdIn(List<String> values) {
            addCriterion("par_par_exec_id in", values, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdNotIn(List<String> values) {
            addCriterion("par_par_exec_id not in", values, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdBetween(String value1, String value2) {
            addCriterion("par_par_exec_id between", value1, value2, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andParParExecIdNotBetween(String value1, String value2) {
            addCriterion("par_par_exec_id not between", value1, value2, "parParExecId");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNull() {
            addCriterion("task_type is null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNotNull() {
            addCriterion("task_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeEqualTo(String value) {
            addCriterion("task_type =", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotEqualTo(String value) {
            addCriterion("task_type <>", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThan(String value) {
            addCriterion("task_type >", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThanOrEqualTo(String value) {
            addCriterion("task_type >=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThan(String value) {
            addCriterion("task_type <", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThanOrEqualTo(String value) {
            addCriterion("task_type <=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLike(String value) {
            addCriterion("task_type like", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotLike(String value) {
            addCriterion("task_type not like", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIn(List<String> values) {
            addCriterion("task_type in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotIn(List<String> values) {
            addCriterion("task_type not in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeBetween(String value1, String value2) {
            addCriterion("task_type between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotBetween(String value1, String value2) {
            addCriterion("task_type not between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andFormUserIsNull() {
            addCriterion("form_user is null");
            return (Criteria) this;
        }

        public Criteria andFormUserIsNotNull() {
            addCriterion("form_user is not null");
            return (Criteria) this;
        }

        public Criteria andFormUserEqualTo(String value) {
            addCriterion("form_user =", value, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserNotEqualTo(String value) {
            addCriterion("form_user <>", value, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserGreaterThan(String value) {
            addCriterion("form_user >", value, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserGreaterThanOrEqualTo(String value) {
            addCriterion("form_user >=", value, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserLessThan(String value) {
            addCriterion("form_user <", value, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserLessThanOrEqualTo(String value) {
            addCriterion("form_user <=", value, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserLike(String value) {
            addCriterion("form_user like", value, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserNotLike(String value) {
            addCriterion("form_user not like", value, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserIn(List<String> values) {
            addCriterion("form_user in", values, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserNotIn(List<String> values) {
            addCriterion("form_user not in", values, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserBetween(String value1, String value2) {
            addCriterion("form_user between", value1, value2, "formUser");
            return (Criteria) this;
        }

        public Criteria andFormUserNotBetween(String value1, String value2) {
            addCriterion("form_user not between", value1, value2, "formUser");
            return (Criteria) this;
        }

        public Criteria andProcInstIdIsNull() {
            addCriterion("proc_inst_id is null");
            return (Criteria) this;
        }

        public Criteria andProcInstIdIsNotNull() {
            addCriterion("proc_inst_id is not null");
            return (Criteria) this;
        }

        public Criteria andProcInstIdEqualTo(String value) {
            addCriterion("proc_inst_id =", value, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdNotEqualTo(String value) {
            addCriterion("proc_inst_id <>", value, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdGreaterThan(String value) {
            addCriterion("proc_inst_id >", value, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdGreaterThanOrEqualTo(String value) {
            addCriterion("proc_inst_id >=", value, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdLessThan(String value) {
            addCriterion("proc_inst_id <", value, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdLessThanOrEqualTo(String value) {
            addCriterion("proc_inst_id <=", value, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdLike(String value) {
            addCriterion("proc_inst_id like", value, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdNotLike(String value) {
            addCriterion("proc_inst_id not like", value, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdIn(List<String> values) {
            addCriterion("proc_inst_id in", values, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdNotIn(List<String> values) {
            addCriterion("proc_inst_id not in", values, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdBetween(String value1, String value2) {
            addCriterion("proc_inst_id between", value1, value2, "procInstId");
            return (Criteria) this;
        }

        public Criteria andProcInstIdNotBetween(String value1, String value2) {
            addCriterion("proc_inst_id not between", value1, value2, "procInstId");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}